<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>test</title>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <style type="text/css">
       h1 {font-size:16px;}
       p {font-size:14px;text-indent: 20px;}
    </style>
  </head>
  <body>
    <h1>1:接口名称</h1>
    <p>淘宝客商品搜索<br/>
    </p>
    <h1>2:接口说明</h1>
    <p>/rest/2.0/mall/product/search</p>
    <h1>3：接口测试</h1>
    <p>
    <form name="form1" id="form1" enctype="multipart/form-data" method="post"  >
	    keyword:<input type="text" name="keyword" value=""/> 多个关键字空格隔开<br/>
	    ju_code:<input type="text" name="ju_code" value=""/> 聚合code,如猫咪干粮等分类,优先于pet_code与cate_code <br/>
	    pet_code:<input type="text" name="pet_code" value=""/> 宠物code 如猫咪 <br/>
	    cate_code:<input type="text" name="cat_code" value=""/> 分类code 如干粮 <br/>
	   	min_price:<input type="text" name="min_price" value=""/> 最低价 <br/>
	    max_price:<input type="text" name="max_price" value=""/> 最高价 <br/>
        sort:<input type="text" name="sort" value=""/> 排序 priceasc 价格升序 pricedesc 价格降序 不填则常规排序 <br/>
	    <input type="button" value="submit" onclick='exe()'>
	</form>


	<br/>
    </p>
    
    <h1>4：接口返回</h1>
    <p>
    <div id="backJson">
     加载中...
    </div>
    <h1>常量code列表</h1>
    <div>
		
	</div>
    
    <br/>
    
    </p>
  </body>
</html>
<script type="text/javascript" src="/js/xhr.js"></script>
<script type="text/javascript" src="/js/cactus.js"></script>
<script>
    function exe(){
           Demo.execute("/rest/2.0/mall/product/search",document.forms["form1"]);
    }
    exe();
</script>
